//
//  CategoryToCollectionSegue.m
//  freeLance
//
//  Created by Serge Zalozniy on 5/2/13.
//  Copyright (c) 2013 Mozi Development. All rights reserved.
//

#import "CategoryToCollectionSegue.h"
#import "CollectionViewController.h"

@implementation CategoryToCollectionSegue

-(void) perform {
    CollectionViewController *collectionViewController = (CollectionViewController *) self.destinationViewController ;
    collectionViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
    UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:collectionViewController];
    
    [self.sourceViewController presentViewController:navController
                                            animated:YES
                                          completion:nil];
}


@end
